package relation_table

type Article2 struct {
	AId     int `gorm:"primary_key:true"`
	Title   string
	Content string
	Desc    string
	Tags    []Tag `gorm:"many2many:Article2s2Tags;ForeignKey:AId;AssociationForeignKey:TId"`
}

type Tag struct {
	TId  int `gorm:"primary_key:true"`
	Name string
	Desc string
}
